package com.zm.demo.dubbo.sc.provider;

import com.zm.demo.dubbo.sc.api.UserService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @org.apache.dubbo.config.annotation.Service 是 Dubbo 服务注解，仅声明该 Java 服务（本地）实现为 Dubbo 服务
 * @author zoum
 * @create 2019/4/26 11:25
 */
@Service
public class UserServiceImpl implements UserService {

    public String hello(String userName) {
        return "hello " + userName;
    }
}
